package com.service;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "service-provider")
public interface HIService {
    @GetMapping("/provider/hello")

    String hello(@RequestParam(value = "name" , required = false)String  name);
}
